<template>
  <div class="table-container">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="deptName" label="单位" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="num" label="风险识别总数" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="grade1" label="重大风险（Ⅰ级）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="grade2" label="较大风险（Ⅱ级）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="grade3" label="一般风险（Ⅲ级）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="grade4" label="低风险（Ⅳ级）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="revisionTime" label="最近一次识别时间" min-width="80"  align="center"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "riskLevelTable",
  props: {
    tableData: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style lang="scss" scoped></style>
